package com.zmn.oms.services.interfaces.quotation3;

import com.zmn.oms.model.entity.quotation3.OrderFault;
import com.zmn.oms.model.entity.quotation3.OrderMaintainItem;

import java.util.List;

/**
 * @author sunlife
 * @date:2021/12/2 12:02 下午
 * description:
 */
public interface OrderMaintainItemService {
    void insertList(List<OrderMaintainItem> maintainItemList);

    List<OrderMaintainItem> listByOrderId(Long orderId);

    int deleteByMaintainIds(List<Long> maintainItemIdList);

    int deleteByOrderId(Long orderId);

    int update(OrderMaintainItem maintainItem);
}
